package technion.gc.api.default_impl;

import java.util.ArrayList;

import technion.gc.api.interfaces.AbstractGraphNode;

/** Default Graph Node implementation.
 */
public class DefaultGraphNode extends AbstractGraphNode {
	private ArrayList<AbstractGraphNode> neighbors = new ArrayList<AbstractGraphNode>();

	public DefaultGraphNode(Object _data) {
		super(_data);
	}

	@Override
	public ArrayList<AbstractGraphNode> getNeighbors() {
		return neighbors;
	}

	@Override
	public void setNeighbors(ArrayList<AbstractGraphNode> _neighbors) {
		neighbors = _neighbors;
	}
}
